﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="beg.aspx.cs" Inherits="GPCSC.Web.sjs.beg" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
       <title>淮安市领导干部下基层活动网站</title>
<meta name="KEYWords" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
<meta name="DEscription" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
        <link type="text/css" rel="Stylesheet" href="../Css/GridCss.css" />
     <link type="text/css" rel="Stylesheet" href="../Css/selectCss.css" />
     <link href="../Css/main.css" rel="stylesheet" type="text/css" />
     <script type="text/javascript" src="../scripts/jquery-1.6.2.min.js"></script>
          <script type ="text/javascript" src ="../scripts/datepicker/WdatePicker.js"></script>
          <style>
            .a
            {
                text-decoration:none;
                padding-right:5px;
                cursor:pointer;
                font:  14px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; 
                color: #0161a1; 
                float:left;
                
                }
                body
                {
                    overflow:hidden;
                    }
          </style>
     <script language="javascript">
         //点击进农村、社区、企业
         function newpage(type) {
             $("#jids").val(newGuid());
             locking(type);
         }
         //打开对话框
         function locking(type) {
              
                 document.all.ly.style.display = "block";
                 document.all.ly.style.width = document.body.clientWidth;
                 document.all.ly.style.height = document.body.clientHeight;
                 document.all.Layer2.style.display = 'block';
                 document.all.Layer2.style.left = (document.body.clientWidth - 540) / 2;
                 aclickBu(type);
             }
             //绑定a的click事件
             function aclickBu(type) {
                 if (type != "") {
                     switch (type) {
                         case "1":
                             $("#txbg").unbind("click").click(
                                function () {
                                    document.all.mqrj.style.display = 'block';
                                    document.all.ifr.width = document.body.clientWidth - 100;
                                    document.all.ifr.height = document.body.clientHeight - 50;
                                    var lgid = $("#lgid").val();
                                    var hdid = $("#jids").val();
                                    document.all.ifr.src = "nc.aspx?hdid=" + hdid + "&lgid=" + lgid;
                                }
                             );
                             break;
                         case "2":
                             $("#txbg").unbind("click").click(
                                function () {
                                    //                                    window.open("sq.aspx?hdid=" + hdid + "&lgid=" + lgid);
                                    document.all.mqrj.style.display = 'block';
                                    document.all.ifr.width = document.body.clientWidth - 100;
                                    document.all.ifr.height = document.body.clientHeight - 50;
                                    var lgid = $("#lgid").val();
                                    var hdid = $("#jids").val();
                                    document.all.ifr.src = "sq.aspx?hdid=" + hdid + "&lgid=" + lgid;
                                }
                             );
                           
                             break;
                         case "3":
                             $("#txbg").unbind("click").click(
                                function () {
                                    document.all.mqrj.style.display = 'block';
                                    document.all.ifr.width = document.body.clientWidth - 100;
                                    document.all.ifr.height = document.body.clientHeight - 50;
                                    var lgid = $("#lgid").val();
                                    var hdid = $("#jids").val();
                                    document.all.ifr.src = "qy.aspx?hdid=" + hdid + "&lgid=" + lgid;
                                }
                             );
                             break;
                     }
                 }
                 $("#txmqrj").click(
                                function () {
                                    document.all.mqrj.style.display = 'block';
                                    document.all.ifr.width = document.body.clientWidth - 100;
                                    document.all.ifr.height = document.body.clientHeight - 50;
                                    var lgid = $("#lgid").val();
                                    var hdid = $("#jids").val();
                                    document.all.ifr.src = "MQRJS.aspx?hdid=" + hdid + "&lgid=" + lgid; 
                                }
                             );
                                $("#txdybg").click(
                                function () {
                                    document.all.mqrj.style.display = 'block';
                                    document.all.ifr.width = document.body.clientWidth - 100;
                                    document.all.ifr.height = document.body.clientHeight - 50;
                                    var lgid = $("#lgid").val();
                                    var hdid = $("#jids").val();
                                    document.all.ifr.src = "DYBGS.aspx?hdid=" + hdid + "&lgid=" + lgid;

                                }
                             );

                                $("#Img1").click(
                                function () {
                                    document.all.mqrj.style.display = 'block';
                                    document.all.ifr.width = document.body.clientWidth - 100;
                                    document.all.ifr.height = document.body.clientHeight - 50;

                                    document.all.ifr.src = "jjwtEdits.aspx";
                                }
                             );
             }
         function Lock_CheckForm(theForm) {
             document.all.ly.style.display = 'none'; 
             document.all.Layer2.style.display = 'none';
         }
         function Lock_Check() {

//             alert("提交成功");
             document.all.mqrj.style.display = 'none';
              document.all.ifr.src = "";
          }
function newGuid()
{
    var guid = "";
    for (var i = 1; i <= 32; i++){
      var n = Math.floor(Math.random()*16.0).toString(16);
      guid +=   n;
      if((i==8)||(i==12)||(i==16)||(i==20))
        guid += "-";
    }
    return guid;    
}


     </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="29" background="../images/1.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td  width="100%" class="tittle">当前位置：填写表格</td>
      </tr>
    </table></td>
  </tr>
</table>
<div id="grid" class="grid" style=" width:100%;" >

<table style=" width:100%">
<tr>
<td   style=" text-align:center; width:15%">
姓名

<input type="text" id="lgid" runat="server"  style=" display:none" />
</td>
<td style=" text-align:left; width:30%"   >
    <asp:Label ID="name" runat="server" Text=""></asp:Label>
   
</td>
<td   style=" text-align:center; width:15%">
政治面貌
</td>
<td style=" text-align:left"   >
    <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
   
</td>


</tr>
<tr>
<td>

工作单位
</td>
<td style=" text-align:left">
    <asp:Label ID="Label3" runat="server" Text=""></asp:Label>
</td>
<td>
职务
</td>
<td style=" text-align:left">
<asp:Label ID="Label4" runat="server" Text=""></asp:Label>
</td>
</tr>
<tr>
<td   style=" text-align:center">
领导干部类别
</td>
<td style=" text-align:left"   >
    <asp:Label ID="Label2" runat="server" Text=""></asp:Label>
   
</td>
<td >
手机号码
</td>
<td style=" text-align:left">
    <asp:Label ID="Label5" runat="server" Text=""></asp:Label>
 </td>
</tr>



</table>



<table style=" width:100%;">
<tr>
<td colspan="4" style=" text-align:left; padding:0px; margin:0px; background-image:url(image/h1.jpg)">
<img src="image/t2.jpg" />

</td>
</tr>
<tr >
<td colspan="4" style=" text-align:left;  margin-left:30px;">
<img src="image/j1.jpg" onclick="newpage('1')"  style=" cursor:pointer; margin-left:50px;" />
<img src="image/j2.jpg"  onclick="newpage('2')" style=" cursor:pointer; margin-left:50px;"/>

<img src="image/j3.jpg"  onclick="newpage('3')" style=" cursor:pointer; margin-left:50px;"/>
<input type="text" id="jids" runat="server" style=" display:none"  />
</td>
</tr>
</table>
</div>
    </div>
          <!--         浮层框架开始         -->
        <div id="ly" style="position: absolute; top: 0px; filter: alpha(opacity=60); background-color: #777;
        z-index: 2; left: 0px; display: none;">
    </div>
      
    <div id="Layer2" align="center" style="position: absolute; top:100px; z-index: 1000;  background-color: #fff; display:none" >
        <table width="440" border="0" cellpadding="0" cellspacing="0" style="border: 0   solid   #e7e3e7;
            border-collapse: collapse">
            <tr>
                <td style="background-color: #73A2d6; color: #fff; padding-left: 4px; padding-top: 2px;
                    font-weight: bold; font-size: 14px;" height="27" valign="middle">
                   请选择填报内容：
                </td>
                <td style="background-color: #73A2d6; color: #fff; padding-left: 4px; padding-top: 2px;
                    font-weight: bold; font-size: 14px;" height="27" valign="middle"  align="right">
                  <a style=" cursor:pointer"  onclick="Lock_CheckForm(this)"> 关闭</a>
                </td>
            </tr>
            <tr>
                <td height="130" align="center">
                <div style=" margin-right:20px;  float:left; margin-left:60px; " class="a">
                <img src="image/fkb.jpg" id="txbg"  />
                <br />
                填写表格
                </div>
                <div style=" margin-right:20px; "class="a">
                  <img src="image/wt.jpg" id="Img1" />
                  <br />
               问题实事
                 </div>
                <div style=" margin-right:20px; margin-left:10px; float:left"  class="a">
                <img src="image/rz.gif" id="txmqrj" />
                <br />
                民情日记
                </div>

                <div style=" margin-right:20px; "class="a">
                  <img src="image/dybg.gif" id="txdybg" />
                  <br />
               调研报告
                 </div>
                </td>
            </tr>
        </table>
    </div>
    <!--         浮层框架结束         -->

    <div  id="mqrj" align="center" style="position: absolute; left:50px;  top:0px; z-index: 1100;  background-color: #fff; display:none " >
    <iframe id="ifr" >
    
    </iframe>
    </div>
    
    </form>
</body>
</html>
